package com.cookor.poi.modules.phy.service;

import com.cookor.poi.common.persistence.DataEntity;
import com.cookor.poi.common.persistence.Page;
import com.cookor.poi.common.service.CrudService;
import com.cookor.poi.modules.phy.dao.TProRankDao;
import com.cookor.poi.modules.phy.entity.TProRank;
import java.util.List;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional(readOnly = true)
public class TProRankService extends CrudService<TProRankDao, TProRank> {
  public TProRank get(String id) {
    return (TProRank)super.get(id);
  }
  
  public List<TProRank> findList(TProRank tProRank) {
    return super.findList( tProRank);
  }
  
  public Page<TProRank> findPage(Page<TProRank> page, TProRank tProRank) {
    return super.findPage(page,  tProRank);
  }
  
  @Transactional(readOnly = false)
  public void save(TProRank tProRank) {
    super.save( tProRank);
  }
  
  @Transactional(readOnly = false)
  public void delete(TProRank tProRank) {
    super.delete( tProRank);
  }
}
